<!doctype html>
<html class="x-admin-sm">
    <head>
        <meta charset="UTF-8">
        <title>后台登录-X-admin2.2</title>
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link rel="stylesheet" href="/backend/css/font.css">
        <link rel="stylesheet" href="/backend/css/xadmin.css">
        <meta http-equiv="Refresh" content="{{time}}">
    </head>
    <body>
          <div class="layui-container">
           <div class="fly-panel"> 
            <div class="fly-none"> 
             <h2><i class="layui-icon layui-icon-ok-circle"></i></h2>
             <h2>提交成功</h2> 
             <h2><span id="leftTimeContainer">{{time}}</span>s后即将前往联系页面或者 <a href="/contact">立即前往联系页面</a></h2>
            </div>
           </div>
          </div>
 
    </body>
    <script>
        let leftTime=3;
        let timer=setInterval(function(){
            leftTime--;
            document.getElementById('leftTimeContainer').innerText=leftTime;
            if(leftTime==0){
                clearInterval(timer);
                location='http://localhost:8082/contact';
            }
        },1000);
    </script>
</html>